/*******************************************************
 * TPurchaseApplyViEnMapper.java
 * Copyright(c) 2017-2080 深圳市企智达软件有限公司  www.qzdsoft.com
 * All rights reserved.
 * -----------------------------------------------------
 * 2017-08-18 Created.
 * Create by DamingChen.
 *******************************************************/
package com.qzdsoft.erpcloud.mapper.pu.vi;

import java.util.List;

import com.qzdsoft.erpcloud.vo.pu.PurchaseApplyInfo;
import com.qzdsoft.vo.TypeInfo;

public interface PurchaseApplyQueryMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(PurchaseApplyInfo record);

    int insertSelective(PurchaseApplyInfo record);

    PurchaseApplyInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PurchaseApplyInfo record);

    int updateByPrimaryKey(PurchaseApplyInfo record);
    //查询所有的表头信息
	List<PurchaseApplyInfo> findAllApply();

    List<PurchaseApplyInfo> find(int id);
    
    List<TypeInfo> selectBillno(Integer companyid);
}